package com.rykj.energy.task.manage.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Set;

@Data
@ApiModel("任务执行范围Bean")
public class TriggerDto {

    @ApiModelProperty(value = "任务有效期" )
    private List<CycleTimeDto> cycleTimes;

    @ApiModelProperty(value = "任务需要执行的星期,SUNDAY:1,MONDAY:2,TUESDAY:3....." )
    private Set<Integer> weeks;
}
